﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using JKF.BusinessLayer.BLL;
using JKF.Substructure;

namespace JKF.Web.SMS.Templeate
{
    public partial class Sms_Template_Add : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MODULE_NAME_EN = "SMS_TEMPLEATE";
        }
        private static bllSMS_TEMPLEATE tmpMgr = new bllSMS_TEMPLEATE();
        public string templateInfo
        {
            get
            {
                var id = P("id");
                if (id.IsGuidB())
                {
                    var module = tmpMgr.GetModel(id.ToGuid());
                    return module.ToJson();
                }
                return "null";
            }
        }
    }
}